import base64
import os

image_path=os.path.dirname(__file__)+'/image/'
""" 
#mrr.png 查看全部归档病案
with open("G:/Python/MRMS/image/mrr.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('mrr',base64_data)
    # file=open('1.txt','wt')#写成文本格式
    # file.write(str(base64_data))
    # file.close()

# filing.png  病案归档
with open("G:/Python/MRMS/image/filing.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('filing',base64_data)

# copyedrecord 病案复印记录
with open("G:/Python/MRMS/image/copyedrecord.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('copyedrecord',base64_data)

# reginarchives 其它档案借阅登记
with open("G:/Python/MRMS/image/reginarchives.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('reginarchives',base64_data)

# help help按钮
with open("G:/Python/MRMS/image/help.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密    
    print('help',base64_data)

# search 主窗口搜索按钮
with open("G:/Python/MRMS/image/search.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('search',base64_data)
 """
# calendar 日历按钮
with open(image_path+"calendar.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('calendar',base64_data)


# calculator 计算器
with open(image_path+"calculator.png","rb") as f:#转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('calculator',base64_data)

""" 
# option 设置
with open(image_path+"option.png","rb") as f:  #转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('option',base64_data)
 """

# archives_history 其它档案历史记录图标 
with open(image_path+"archives_history.png","rb") as f:  #转为二进制格式
    base64_data = base64.b64encode(f.read())#使用base64进行加密
    print('archives_history',base64_data)
